package hk.linkcredit.walletservice.wallet.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: Jamnsin
 * @Date: 2022/6/10 17:12
 */
@Data
public class WalletAccountReq {

    @NotBlank(message = "CustNo cannot be empty")
    private String custNo;

    @NotNull(message = "Amount cannot be empty")
    private BigDecimal amount;

    @NotBlank(message = "FundsType cannot be empty")
    private String fundsType;

    @NotBlank(message = "Reference cannot be empty")
    private String reference;

    private Date payTime;

    //消息id,可选传
    private String msgId;

}
